package org.example.erpapiservicespringpgimpl.Dao;

import org.example.erpapiservicespringpgimpl.entity.CategoryEntity;
import org.seasar.doma.Dao;
import org.seasar.doma.Select;
import org.seasar.doma.boot.ConfigAutowireable;

import java.util.List;

@ConfigAutowireable
@Dao
public interface CategoryDao {
    @Select
    List<CategoryEntity> findById(String id);
    @Select
    List<CategoryEntity> findCategoriesByLevel(Integer level);
}
